package com.deer.wms.base.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Table;

@Getter
@Setter
@Table(name = "box_info")
public class BoxInfo {
    /**
     * ID
     */
    @Column(name = "box_id")
    @TableId(type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long boxId;

    private Integer wareId;


    public Integer getWareId() {
        return wareId;
    }

    public void setWareId(Integer wareId) {
        this.wareId = wareId;
    }

    /**
     * 编码
     */
    @Column(name = "box_code")
    private String boxCode;

    @Column(name = "type")
    private Integer type;



    @Column(name = "state")
    private Integer state;

    private String createTime;
    private Integer createUserId;
    private String createUserName;

}